/**
 * FileName: Wang
 * Author:   Administrator
 * Date:     2020/9/17 11:05
 * Description: 少丶客
 * History:
 * <time>          <version>
 * 修改时间           版本号
 */
package com.shaokel;

import lombok.Getter;
import lombok.Setter;

import javax.imageio.ImageIO;
import java.awt.image.BufferedImage;
import java.io.IOException;

/**
 * 〈封装wsc类〉
 * 〈少丶客〉
 *
 * @create 2020/9/17
 * @since 1.0.0
 */
@Setter
@Getter
public class Wsc {

    private BufferedImage image;//图片
    private int x;//坐标x
    private int y;//坐标y

    public Wsc(){
        this.x = 180;
        this.y = 500;
        try {
            this.image = ImageIO.read(Wsc.class.getResource("/wsc.png"));
        } catch (IOException e) {
            e.printStackTrace();
        }
    }

}